package com.tianzhu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.ApplicationContext;

@SpringBootApplication
@ServletComponentScan
@EnableCaching
public class WebApplication{
	
	public static ApplicationContext appct;

	public static void main(String[] args) {
		appct = SpringApplication.run(WebApplication.class, args);
	}
	
	public static ApplicationContext getAppct(){
		
		return appct;
	}
}
